package com.risk.login.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Desc
 * @Date 2018/7/2:下午10:58
 * @Author yzMa
 * @email 2641007740@qq.com
 */
@Component
@ConfigurationProperties(prefix = "login.static")
public class LoginStaticConfig {

    private String hostName;

    private String port;

    private String domain;

    private String defaultSuccess;

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getPort() {

        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getDefaultSuccess() {
        return defaultSuccess;
    }

    public void setDefaultSuccess(String defaultSuccess) {
        this.defaultSuccess = defaultSuccess;
    }
}
